package cn.mesmile.design.facade;

/**
 * @author zb
 * @version 1.0
 * @date 2020/11/21 11:48
 * @description
 */
public class MessageFacade implements  MessageManager{

    private MessageManager wechatMsgManager = new WechatMessageManager();
    private MessageManager smsMsgManager = new SmsMessageManager();
    private MessageManager mailMsgManager = new MailMessageManager();
    private MessageManager dingTalkMsgManager = new DingTalkMessageManager();

    @Override
    public void pushMessage() {
        wechatMsgManager.pushMessage();
        smsMsgManager.pushMessage();
        mailMsgManager.pushMessage();
        dingTalkMsgManager.pushMessage();
    }


}
